package cn.itcast.nems.studentrecord.dao.mapper;

import cn.itcast.nems.studentrecord.dao.entity.JournalChangeDateLine;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 改期凭单-行 Mapper 接口
 * </p>
 *
 * @author liyong
 * @since 2024-01-11
 */
@Mapper
public interface JournalChangeDateLineMapper extends BaseMapper<JournalChangeDateLine> {

    /**
     * 根据凭单id查询凭单行
     *
     * @param journalId 凭单id
     * @return 凭单行
     */
    List<JournalChangeDateLine> selectLines(@Param("journalId") String journalId);
}
